php forum
php mysql forum
php mysql smarty
 
Topic Options
#201884 - 12/26/03 08:08 PM [6.7] [beta] Show total members ever rather than current members
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Modification Name: Show total members ever rather than current members

Author(s): Charles Capps

Description: This is the last of this batch of one-liners. wink

Most boards have people that register but never post. Usually only about a third of the membership is really ever active at any one time.

As a result, many admins often prune users that are no longer active. But doing so reduces the count of total members. That isn't really something most sites desire.

That's where this one-liner comes along. smile Instead of using the count of the number of members, it uses the last member number as the total.

Note this number is ONLY used on the forum summary. All other member count numbers, such as those from the Directory, will tell the truth.

Demo: none

Requirements: 6.7.0 Beta Release 1 (rv199) or higher

Instructions / Other Info: 1) Open up ubb_lib.cgi
2) Find the line looking like:

$vars_misc{'ShowFakeMemberTotal'} = 0;

3) Change the 0 to a 1
4) Save & upload.
5) Clear the forum summary cache
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#201885 - 12/27/03 03:58 AM Re: [6.7] [beta] Show total members ever rather than current members
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hey, thanks for all these, very appreciated laugh
_________________________
- Allen wavey
- What Drives You?

Top
#201886 - 12/27/03 11:34 AM Re: [6.7] [beta] Show total members ever rather than current members
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Ya know, my fav part of ubb_lib is:
Quote:
quote:
$vars_search{'topic_index_limit'} = 200; # hard coded - index/rebuildmeta topics/members to handle at a tiem
smile TIEM to run wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#201887 - 12/28/03 01:07 PM Re: [6.7] [beta] Show total members ever rather than current members
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
That's what happens when the developer creates a hack, even the most complicated hack would've been a one-liner wink good job smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201888 - 12/29/03 01:30 PM Re: [6.7] [beta] Show total members ever rather than current members
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Tpoy fixed. tipsy
_________________________
UBB.classic: Love it or hate it, it was mine.

Top



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks